package com.aplink.generic.pojo;

import java.io.Serializable;

import com.aplink.generic.dictionary.GenericDictionary;

public class WebserviceConfig implements Serializable {
    private static final long serialVersionUID = 3475731927795220019L;
    private String mChangePassword;
    private String mForgotPassword;
    private String mInitData;
    private GenericDictionary<String, TableSyncData> mTableDownloads;
    private GenericDictionary<String, TableInit> mTableInits;
    private String mWebserviceDomain;

    public WebserviceConfig() {
        this.mTableInits = new GenericDictionary<String, TableInit>();
        this.mTableDownloads = new GenericDictionary<String, TableSyncData>();
    }

    public void addTableDownload(final String tableName,
            final TableSyncData tableDownload) {
        this.mTableDownloads.put(tableName, tableDownload);
    }

    public void addTableInit(final String tableName, final TableInit tableInit) {
        this.mTableInits.put(tableName, tableInit);
    }

    public String getChangePassword() {
        return this.mChangePassword;
    }

    public String getForgotPassword() {
        return this.mForgotPassword;
    }

    public String getInitData() {
        return this.mInitData;
    }

    public GenericDictionary<String, TableSyncData> getTableDownloads() {
        return this.mTableDownloads;
    }

    public String getWebserviceDomain() {
        return this.mWebserviceDomain;
    }

    public GenericDictionary<String, TableInit> initTableNameInits() {
        return this.mTableInits;
    }

    public void setChangePassword(final String changePassword) {
        this.mChangePassword = changePassword;
    }

    public void setForgotPassword(final String forgotPassword) {
        this.mForgotPassword = forgotPassword;
    }

    public void setInitData(final String initData) {
        this.mInitData = initData;
    }

    public void setTableDownloads(
            final GenericDictionary<String, TableSyncData> tableDownloads) {
        this.mTableDownloads = tableDownloads;
    }

    public void setTableInits(
            final GenericDictionary<String, TableInit> tableInits) {
        this.mTableInits = tableInits;
    }

    public void setWebserviceDomain(final String webserviceDomain) {
        this.mWebserviceDomain = webserviceDomain;
    }

}
